home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-08-04 | 1.4 KB | 66 lines |
- LOCAL_INSTALL=local_install
- LOCAL_POSTINSTALL=local_postinstall
- DIRS = misc translate dialog xconf askrunlevel netconf dnsconf mailconf \
- uucp userconf fstab main conf.files help.files images
-
- include rules.mak
-
- # preset info for gdebug
- dbg:
- dbgset -a. -b. -m/tmp/modules.dbg -r/tmp/ctrl.dbg -t/tmp/types.lst $(DIRS)
- typidx /tmp/types.lst /tmp/types.dbg
-
-
- package: strip package.gen
-
- package-nostrip: package.gen
-
- install.dir:
- mkdir -p /install
- cp conf.files/doinst.sh /install
- chmod +x /install/doinst.sh
- cp conf.files/rc.M /install
- cp conf.files/inittab.redhat /install
- chmod +x /install/rc.M
-
-
- package.gen: install.dir
- (cd /; tar zcvf /tmp/linuxconf-$(LINUXCONF_REV).bin-$(BINFORM).tar.gz \
- bin/linuxconf usr/lib/linuxconf install/doinst.sh \
- var/run/netconf.level \
- usr/lib/terminfo/c/con80x25 \
- usr/lib/terminfo/l/linux \
- install/rc.M \
- install/inittab.redhat)
-
- # var/named/root.cache \
-
- strip:
- strip /bin/linuxconf
-
-
-
- ANNOUNCE: ANNOUNCE.txt translate/sgml2flat
- @translate/sgml2flat $< $@
- @rm -f $<
-
- translate/sgml2flat: translate/sgml2flat.c
- make -C translate sgml2flat
-
-
- local_install:
- @echo
- @echo Installing linuxconf in /usr/lib/linuxconf
- @echo The main utility is /bin/linuxconf
- @echo A bunch of symlinks are install in /bin and /sbin
- @echo
- @echo -n "Sleeping 4 seconds ..."
- @sleep 4
- @echo
-
- local_postinstall: install.dir
- @echo
- @echo Checking RC scripts
- @sh /install/doinst.sh
-
-